﻿namespace MyMES.Read.API.Dtos
{
    public class ProductiondetailsDtos
    {

        public int ProductionordersId { get; set; }

        /// <summary>
        /// 生产单号编号
        /// </summary>
        public string ProductionordersNo { get; set; }

        /// <summary>
        /// 生产单号名称
        /// </summary>
        public string ProductionordersName { get; set; }

     

        /// <summary>
        /// 负责人
        /// </summary>
        public string Head { get; set; }

        /// <summary>
        /// 所在部门
        /// </summary>
        public string Department { get; set; }

        /// <summary>
        /// 生产单状态  0：未下单    2：已下单
        /// </summary>
        public bool ProductionordersStatus { get; set; }

 


        /// <summary>
        /// 计划开始时间
        /// </summary>
        /// 
        public DateTime PlanStartTime { get; set; }

        /// <summary>
        /// 计划结束时间
        /// </summary>
        public DateTime PlanEndTime { get; set; }

        /// <summary>
        /// 计划产量
        /// </summary>

        public string yield { get; set; }

      

        /// <summary>
        /// 生产物品表  Materialmanagement
        /// </summary>
        public int MId { get; set; }

        /// <summary>
        /// 生产工单主键
        /// </summary>
        public int WorkOrderId { get; set; }

        /// <summary>
        /// 生产单创建时间
        /// </summary>
        public DateTime ProductionordersTime { get; set; }

        /// <summary>
        /// 工艺流程表  Process
        /// </summary>

        public int ProcessID { get; set; }


        /// <summary>
        /// 生产工单编号  WorkOrder
        /// </summary>
        public string WorkOrderCoding { get; set; }
        public string OrderNumber { get; set; }
        // public string WorkOrderCoding { get; set; }
        




        //Materialmanagement

        /// <summary>
        /// 物料编码   
        /// </summary>
        public string Materialnumber { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string Materialname { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public int Unit { get; set; }

        /// <summary>
        /// 物料/产品
        /// </summary>
        public int Materialproduct { get; set; }
    }
}
